package com.study.common.core.domain.model;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @author nizhihao
 * @version 1.0.0
 * @date 2023/12/16 15:29
 */
@Validated
@Data
public class AppEmailCodeBody {

    /**
     * 邮箱
     */
    @NotNull
    private String email;

    /**
     * 验证码
     */
    @NotNull
    private String code;

}
